package things;

import java.awt.Dimension;
import javax.swing.JFrame;

/**
 *
 * @author Ben
 */
public class Skeleton extends JFrame {

    public Skeleton(int width, int height) {
        // For some reason, needed to add the 29 to make it the entire height and stuff.
        Dimension d = new Dimension(width, height + 29);
        add(new World(width, height));
        setTitle("WumpusGame");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setMinimumSize(d);
        setSize(d);
        setLocationRelativeTo(null);
        setVisible(true);
        setResizable(false);
    }
}
